<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>订单详情</title>
	<link rel="stylesheet" href="/Shopping/Public/Css/admin.css"/>
</head>
<body>
	<div id="header">
		<div class="top">
			<ul>
				<li><a href="<?php echo U('Login/loginOut');?>">❤退出❤</a></li>
				<li style="">欢迎您!<?php echo ($_SESSION['admin']['username']); ?></li>
			</ul>
		</div>
		<div class="h_main">
			<span>购物商城后台管理系统</span>
		</div>
	</div>
	<div id="middle"></div>
	<div class="main mt">
		<div class="m_left fl">
			<ul>
				<a href="<?php echo U('Goods/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>商品管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
				<a href="<?php echo U('Cate/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>分类管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
				<a href="<?php echo U('User/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>用户管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
				<a href="<?php echo U('Order/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>订单管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
				<a href="<?php echo U('Comments/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>评论管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
				<a href="<?php echo U('Adver/index');?>">
					<li>
					<span class="left_ico"></span>
					<b>广告管理</b>
					<span class="right_ico"></span>
					</li>
				</a>
			</ul>
		</div>
	<div class="m_right fr">
		<div class="mright_m">
		
	<div class="agoods_nav">
		<span>详情列表</span>
	</div>
	<table border="1" cellpadding="5" cellspacing="0" width="92%" style="margin:20px auto;text-align:center;margin-top:50px;">
		<tr height="60px;">
			<th>商品编号</th>
			<th>商品名称</th>
			<th>商品图片</th>
			<th>商品描述</th>
			<th>单价</th>
			<th>数量</th>
			<th>小计</th>
			<th>添加时间</th>
		</tr>
		<?php if(is_array($goods_list)): foreach($goods_list as $key=>$value): ?><tr height="60">
			<td><?php echo ($value['gid']); ?></td>
			<td><?php echo ($value['gname']); ?></td>
			<td><img src="/Shopping<?php echo ($value['giname']); ?>" alt="美工回家生娃了"/></td>
			<td><?php echo ($value['gd']); ?></td>
			<td><font style="color:red;">¥:<?php echo ($value['gp']); ?></font></td>
			<td><?php echo ($value['oinum']); ?></td>
			<td><font style="color:red;">¥:<?php echo ($value['gp']*$value['oinum']); ?></font></td>
			<td><?php echo ($value['gtime']); ?></td>
		</tr><?php endforeach; endif; ?>
		<tr>
			<th colspan="8" height="50px">
				<?php echo ($page); ?>
			</th>
		</tr>
	</table>

		</div>
	</div>
</div>
<div class="clear"></div>
<div id="middle"></div>
<div id="footer">
	<p>Copyright&copy; 2016年 京ICP备11011334号</p>
</div>

</body>
</html>